import React from 'react';
import {  Link } from "react-router-dom";
function ScollListRow0(props) {
    let { i,index  } = props;
    let { type } = i;
    console.log(112,i)
    return (
        <Link to={"/detail/" + i.object.data.id + "/" + type} className="listItem" key={i.object.data.slug + index}>
            <div className={i.object.data.list_image_url ? "imgBox" : "dn"}>
                <img className="banner-img" alt="1" src={i.object.data.user.avatar} />
            </div>
            <div className="listContent">
                <p className="title"> {i.object.data.title}</p>
                <p className="details"> {i.object.data.public_abbr}</p>
                <p className="more">喜欢： {i.object.data.public_comments_count}</p>
            </div>
        </Link>
    )
}
export default ScollListRow0;